package org.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import org.apache.solr.client.solrj.beans.Field;

import java.io.Serializable;
import java.sql.Timestamp;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("itrip_hotel")
public class ItripHotel implements Serializable {
    @TableId(type = IdType.AUTO)
    @Field("id")
    private Long id;
    @TableField("hotelName")
    @Field("hotelName")
    private String hotelName;
    @TableField("countryId")
    @Field("countryId")
    private Long countryId;
    @TableField("provinceId")
    @Field("provinceId")
    private Long provinceId;
    @TableField("cityId")
    @Field("cityId")
    private Long cityId;
    @TableField("address")
    @Field("address")
    private String address;
    @TableField("details")
    @Field("details")
    private String details;
    @TableField("facilities")
    @Field("details")
    private String facilities;
    @TableField("hotelPolicy")
    @Field("hotelPolicy")
    private String hotelPolicy;
    @TableField("hotelType")
    @Field("hotelType")
    private Integer hotelType;
    @TableField("hotelLevel")
    @Field("hotelLevel")
    private Integer hotelLevel;
    @TableField("isGroupPurchase")
    @Field("isGroupPurchase")
    private Integer isGroupPurchase;
    @TableField("redundantCityName")
    @Field("redundantCityName")
    private String redundantCityName;
    @TableField("redundantProvinceName")
    @Field("redundantProvinceName")
    private String redundantProvinceName;
    @TableField("redundantCountryName")
    @Field("redundantCountryName")
    private String redundantCountryName;
    @TableField("redundantHotelStore")
    @Field("redundantHotelStore")
    private Integer redundantHotelStore;
    @TableField("creationDate")
    @Field("creationDate")
    private Timestamp creationDate;
    @TableField("createdBy")
    @Field("createdBy")
    private Long createdBy;
    @TableField("modifyDate")
    @Field("modifyDate")
    private Timestamp modifyDate;
    @TableField("modifiedBy")
    @Field("modifiedBy")
    private Long modifiedBy;
}
